{% extends "books/base.html" %}

{% load i18n %}
{% load pagination_tags %}
{% load extra_tagging_tags %}
{% load threadedcommentstags %}

{% block head_title %}{% blocktrans %}All Books{% endblocktrans %}{% endblock %}

{% block body %}
    
    <h1>{% trans "All Books" %}</h1>
    
    {% if books %}
    	{% autopaginate books %}
        <div class="thumb-row clearfix">
        {% for book in books %}
        <div>
		
		
			<h2><a href="{% url book_details book.id %}">{{ book.name }}</a></h2>
			{% show_tags_for book %}
			
			<p>{{ book.description }}</p>
		
		
		
			
			
        </div>
        {% endfor %}
        </div>
        {% paginate %}
    {% else %}
        <p>No books were found.</p>
    {% endif %}
    
    
{% endblock %}
